package com.ffcc.fitness.coach.pojo.vo;

import com.ffcc.fitness.coach.pojo.entity.Coach;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CoachInfo {
    private String certification;//资质证书
    private String specialty;//擅长训练领域
    private BigDecimal hourlyRate;//私教课时费用
    private Integer teachingYears;//教学经验（年）
    private String coachDesc;//教练详细介绍

    // 构造函数，接受一个 Coach 对象
    public CoachInfo(Coach coach) {
        this.certification = coach.getCertification();
        this.specialty = coach.getSpecialty();
        this.hourlyRate = coach.getHourlyRate();
        this.teachingYears = coach.getTeachingYears();
        this.coachDesc = coach.getCoachDesc();
    }
}
